package StructuralPattern.BridgePattern.shape;

import StructuralPattern.BridgePattern.color.Color;

public class Circle extends Shape {
    private int radius;

    public Circle(int radius, Color color) {
        super(color);
        this.radius = radius;
    }

    @Override
    public void draw() {
        color.applyColor();
        System.out.println("绘制圆形，半径为: " + radius);
    }
}